<?php
$id = 1;
include "url.php";
include_once "ini.php";
dbconnect();

//$sql = "SELECT * FROM users WHERE id_user = '".$id."'";
//$sql = "SELECT * FROM images WHERE coord_x < '2.5' AND coord_x > '1.5' AND coord_z < '-0.5' AND coord_z > '-1.5' AND droit = 'public'";
$sql = "SELECT * FROM images";
$requete = mysql_query($sql);
print_r($requete);

while ($users = mysql_fetch_assoc($requete))
{	
	echo '<pre>';
	print_r($users);
	echo '</pre>';
}


?>